import home from '@/views/home/index.vue'
import { createRouter, createWebHistory } from 'vue-router'
import login from '@/views/login/index.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
{ path: '/', redirect: '/home' },
    {path: '/home',component: home,  },
    {path: '/login',component: login,  },

  ],
})

export default router
